package com.xique.park.api;

import com.xique.common.core.constant.ServiceNameConstants;
import com.xique.common.core.domain.R;
import com.xique.park.api.dto.ParkConfigDTO;
import com.xique.park.api.factory.RemoteParkConfigFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 车场基本配置接口
 */
@FeignClient(contextId = "RemoteParkConfigService", value = ServiceNameConstants.SYSTEM_BIZ_SERVICE, fallbackFactory = RemoteParkConfigFallbackFactory.class)
public interface RemoteParkConfigService {

    /**
     * 删除岗亭登录用户信息
     * @author liuxueli
     * @date 2021/12/13
     * @param parkConfigDTO
     * @return com.xique.common.core.domain.R<java.lang.Boolean>
     */
    @PostMapping("park/addParkConfig")
    R<Boolean> saveParkConfig(@RequestBody ParkConfigDTO parkConfigDTO);


}
